package com.butterfly.hotkey.dashboard.framework.properties;

import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.context.annotation.Configuration;

/**
 * jwt配置信息
 *
 * @author butterfly
 * @version 1.0.0
 * @since 2023/11/28 13:21
 */
@Configuration
@ConfigurationProperties(prefix = "dashboard.jwt")
public class JwtProperties {

    /**
     * 签名密钥
     */
    private String signKey;

    /**
     * access token 过期时间，单位秒，默认2H
     */
    private Integer accessTokenExpire;


    public String getSignKey() {
        return signKey;
    }

    public void setSignKey(String signKey) {
        this.signKey = signKey;
    }

    public Integer getAccessTokenExpire() {
        return accessTokenExpire;
    }

    public void setAccessTokenExpire(Integer accessTokenExpire) {
        this.accessTokenExpire = accessTokenExpire;
    }
}
